package com.health.system.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UpdateStatusVo {
    @NotNull(message = "文章id不能为空")
    private Long id;
    @NotNull(message = "置顶状态值不能为空")
    private Boolean status;
}
